package org.coco.mybatis.sql;

public class JavaType {

    public static Class<?> parseByValue(String type) {
        if("Integer".equals(type) || "int".equals(type)) {
            return int.class;
        }else if("String".equals(type)) {
            return String.class;
        }else if("Boolean".equals(type) || "boolean".equals(type)) {
            return boolean.class;
        }else {
            return null;
        }
    }
}
